﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/SideNav.Master" AutoEventWireup="true" CodeBehind="ReviewManager.aspx.cs" Inherits="Planetwork.Admin.ReviewManager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <ul class="breadcrumb" style="margin-bottom:20px;">
        <li><span class="glyphicon glyphicon-home"></span> 首页</li>
        <li class="actve">评论管理</li>
    </ul>
    
    <div class="col-sm-10"  >
        <asp:GridView ID="showReview" runat="server" AutoGenerateColumns="false" CssClass="table table-hover table-responsive" OnRowCommand="showReview_RowCommand">
            <Columns>
                <asp:BoundField DataField="ParentID" HeaderText="ParentID" />
                <asp:BoundField DataField="Content" HeaderText="Content" />
                <asp:BoundField DataField="Author" HeaderText="Author" />
                <asp:BoundField DataField="ReviewDate" HeaderText="ReviewDate" />
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:Button runat="server" ID="deleteBtn" CommandName="del" CommandArgument='<%# Eval("ID") %>' CssClass="btn btn-danger btn-sm center-block" Text="Delete" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>

    </div>
   
    <div id="paging" class="col-sm-10">
        <ul class="pagination pull-right">
            <li><asp:Button runat="server" OnClick="Paging" Text="首页" CssClass="btn btn-default" /> </li>  
            <asp:PlaceHolder ID="pagingBtnGroup" runat="server"></asp:PlaceHolder>
            <li><asp:Button runat="server" OnClick="Paging" Text="末页" CssClass="btn btn-default" /> </li>     
        </ul>
    </div>


    <script type="text/javascript">
        
    </script>

</asp:Content>
